[LaTex]: Add in the TOC an included PDF
Posted
by ILoveMyLatexReport
on Stack Overflow
See other posts from Stack Overflow
or by ILoveMyLatexReport
Published on 2010-05-10T15:10:43Z
Indexed on
2010/05/10
15:14 UTC
Read the original article
Hit count: 236
In my document I include a PDF using
\includepdf[pages=-]{./mypdf.pdf}
The problem I'm having is how to add a TOC entry for this pdf.
It supposed to be an appendix. I tried adding a new section in the appendix but of course the section name can't be printed on the same page than the included pdf, so the resulting TOC line directs to a wrong page.
if I use \addcontentsline I loose the numbering and the page is wrong too because the included pdf actually starts at the next page...
I'm a bit lost here so I would really appreciate if someone knows how to do this.
note: the pdf I try to include was not generated from LaTex.
Thanks in advance.
© Stack Overflow or respective owner